﻿using ArtClub.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ArtClub.DAL
{
    internal interface IMemberDB
    {
        List<Member> ListMembers();

        List<Member> ListMembersByName(string name);

        List<Member> ListMembersByEmail(string email);

        List<Member> ListMembersByPoints(int minPoints);

        Member GetMember(int id);

        void AddPoints(Member member, int points);

        void RemovePoints(Member member, int points);

        void CreateMember(Member member);

		void UpdateMember(Member member);

		void DeleteMember(int id);
    }
}